﻿using com.guojin.core.io.message;
using com.guojin.core.io;
using System;

namespace com.guojin.mj.net.message.login
{
    public class AddAdminRet : Message
    {
        public static int TYPE = 7;
        public static int ID = 117;
        /**
* 1.没有此用户
* 2.管理员不能是部长
* 3.管理员达到上限
* 4.添加成功
*/
        public int type;
        public void decode(Input _in)
        {
            type = _in.readInt();
        }

        public void encode(Output _out)
        {

        }

        public int getMessageId()
        {
            return ID;
        }
        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return type.ToString();
        }
    }
}
